package com.shengsheng.expschedule.service.ucenter.service;

import com.shengsheng.expschedule.service.ucenter.entity.Right;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shengsheng.expschedule.service.ucenter.entity.Vo.RightInfoVo;
import com.shengsheng.expschedule.service.ucenter.entity.Vo.RightVo;

import java.util.List;

/**
 * <p>
 * 会员权限表 服务类
 * </p>
 *
 * @author yuan
 * @since 2021-11-04
 */
public interface RightService extends IService<Right> {

    boolean saveByRightVo(RightInfoVo rightVo);

    boolean removeRightById(String id);

    List<RightVo> getRightsNestedList();

    String getRightIdByRightName(String rightName);
}
